@import "../less/vendor-prefixes";
@import "../less/variables";


// 表格容器
.wp-container {
  border: @base-border;
  overflow: hidden;
  .box-shadow(@base-shadow);
  .border-radius(@base-radius);
  height: calc(~"100vh - 133px");
  margin: @base-margin;
  background-color: @white;
}

.wp-container-header {
  border-bottom: 1px solid #D6ECF6;
  height: 35px;
  line-height: 35px;
  i {
    color: @base-color
  }
  span {
    cursor: pointer;
  }
  .wp-line {
    width: 1px;
    margin-left: 10px;
    border-right: 1px solid rgba(196, 196, 196, 1);
  }
  .wp-container-header-subtitle{
    text-align: center;
  }
}
// 筛选条件
.wp-components-bgc {
  background-color: @white;
  border-radius: 6px;
  height: 52px;
  margin: @base-margin;
  .ant-form-item-control-wrapper {
    margin-top: 8px;
  }
  .wp-btn-row {
    width: auto !important;
    .ant-form-item-control-wrapper {
      margin-top: 0;
      vertical-align: baseline;
    }
  }
  .ant-form-item-control {
    line-height: 0;
  }
  .ant-form {
    line-height: 52px;
    height: 100%;
  }
  .box-shadow(@base-shadow);
  border: @base-border;
  .ant-form-item {
    vertical-align: middle;
  }
  .ant-form-item-label {
    width: @label-w;
  }
  .ant-row {
    width: @ant-row-w;
  }
  .ant-calendar-picker, .ant-select-selection--single {
    //margin-top: 5px;
  }
  .range-picker {
    width: 280px;
    .ant-form-item-control-wrapper {
      width: 185px;
    }
  }
  .month-picker{
    width: 200px;
  }
  .ant-form-item {
    margin: 0;
  }
}
.xnw-table{
  .ant-table-thead > tr > th{
    border-right: 1px solid #fff;
  }
  .ant-table-tbody > tr > td{
    border-bottom: 1px solid #D6ECF6;
  }
  .ant-pagination{
    margin:10px auto;
    text-align: center;
    float: none;
  }
  .ant-pagination-disabled a, .ant-pagination-disabled:hover a, .ant-pagination-disabled:focus a, .ant-pagination-disabled .ant-pagination-item-link, .ant-pagination-disabled:hover .ant-pagination-item-link, .ant-pagination-disabled:focus .ant-pagination-item-link{
    color:#93BED4
  }
  .ant-pagination-prev .ant-pagination-item-link, .ant-pagination-next .ant-pagination-item-link{
    color: #3FA4F3;
  }
  .ant-pagination-item-active{
    background: #0FA4F3;
    border-color: #0FA4F3;
    a{
      color: #fff;
    }
  }
}

.xnw-clearBorder {
  .ant-input-sm {
    border: none;
    cursor: auto;
  }
  .ant-modal-footer{
    display: none;
  }
  //.ant-input-group-addon {
  //  display: none;
  //}
  .ant-select-sm .ant-select-selection--single {
    border: none;
    cursor: auto;
    background: #fff;
  }
  .ant-calendar-picker-clear {
    border: none;
    cursor: auto;
  }
  .ant-calendar-picker-icon {
    display: none;
  }
  .ant-input-disabled {
    background: #fff;
  }
  .ant-select-arrow {
    display: none;
  }
  .ant-form-item-control {
    textarea {
      border: none;
      cursor: auto;
      resize: none
    }
  }
}


.xnw-modal{
  .ant-modal-header{
    padding:8px 24px;
    background: #549FFF;
    .ant-modal-title{
      color: #fff;
      font-size: 14px;
    }
  }
  .ant-modal-close-x{
    height: 30px;
    line-height: 17px;
    width: 45px;
  }
  .ant-modal-close-x:before{
    width: 16px;
    height: 16px;
    display: inline-block;
    background: #fff;
    border-radius: 50%;
    margin-top:12px;
    color: #549FFF;
    font-size: 10px;
  }
  .ant-modal-footer{
    border-top:none;
    text-align: center;
    button{
      width: 96px;
      height: 32px;
    }
  }
  .ant-modal-body{
    padding:15px 24px 0 24px;
  }
  .ant-form-vertical .ant-form-item-label, .ant-col-24.ant-form-item-label, .ant-col-xl-24.ant-form-item-label{
    padding:0;
  }
  .ant-form-item{
    margin-bottom: 20px;
  }

}

.xnw-inputText{
  margin-top: 0;
  border: none;
  cursor: auto;
  background: #fff;
}
